package com.cy.Service;

import com.cy.bean.Question1;
import com.cy.mapper.Question1Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Question1ServiceImpl implements Question1Service{
    @Autowired
    private Question1Mapper question1Mapper;

    @Override
    public List<Question1> findAllQuestion() {
        return question1Mapper.findAllQuestion();
    }
}
